#!/bin/bash
set -o errexit # Set the shell option to exit on error

DIRNAME=`dirname $0`
source ${DIRNAME}/action_functions.bash
red='\033[0;31m'
green='\033[0;32m'
yellow='\033[0;33m'
plain='\033[0m'

function deal(){
  # 更新apt源
  TOOLSNAME="lrzsz traceroute sshpass libnetfilter-cttimeout1 libltdl7 lvm2-dbusd ipvsadm ipset jq chrony python3-pip net-tools tree iftop iotop sysstat fio haproxy zip unzip libffi-dev mtr libpam0g-dev nfs-common aptitude"
  apt-get install $TOOLSNAME -y > /dev/null 2>&1
}

function main(){
  action $0 deal
}

main $*
